class AnnouncementVo {
  int id;
  String name;
  int userId;
  String userName;
  int type;
  String typeName;
  int status;
  String statusName;
  String content;
  String createTime;
  String issueTime;

  AnnouncementVo({
    this.id,
    this.name,
    this.userId,
    this.userName,
    this.type,
    this.typeName,
    this.status,
    this.statusName,
    this.content,
    this.createTime,
    this.issueTime,
  });

  AnnouncementVo.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    userId = json['userId'];
    userName = json['userName'];
    type = json['type'];
    typeName = json['typeName'];
    status = json['status'];
    statusName = json['statusName'];
    content = json['content'];
    createTime = json['createTime'];
    issueTime = json['issueTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['name'] = this.name;
    data['userId'] = this.userId;
    data['userName'] = this.userName;
    data['type'] = this.type;
    data['typeName'] = this.typeName;
    data['status'] = this.status;
    data['statusName'] = this.statusName;
    data['content'] = this.content;
    data['createTime'] = this.createTime;
    data['issueTime'] = this.issueTime;
    return data;
  }
}
